@font-face {
    font-family: font;
    src: url(../Vazir/Vazir-Bold-FD.ttf);
}
html,body{
width: 100%;
height: auto;
float: left;
margin: 0;
padding: 0;   
direction: rtl;
}
body *{
    font-family: font;
}
a{
    text-decoration: none;
}
.filter-container{
    width: 25%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    /* margin-right: 5%; */
    /* position: sticky;
    top: 10%; */
    /* border: 1.5px solid rgba(80, 106, 173, 0.375); */
    border:1.5px solid rgba(80, 106, 173, 0.09);
    border-radius: 10px;
    box-sizing: border-box;
    padding: 1em;
}
.filter-container form{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.products-sec{
    width: 70%;
    height: auto;
    float: left;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.filter-header{
    width: 100%;
    height: auto;
    float: left;
    /* margin-bottom: 1em; */
    display: flex;
    /* padding-bottom: 0.5em; */
    /* border-bottom: 1px solid #b1b1b1; */
    align-items: center;
    justify-content: space-between;
}
.filter-header h2{
    margin: 0;
    color: #30373f;
}
.filter-header i{
    font-size: 30px;
    display: none;
}
.price-range-container{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;
    box-sizing: border-box;
    padding: 1em;
    border: 1.5px solid rgba(80, 106, 173, 0.375);
    border-radius: 10px;
    background-color: white;
}
.price-confine{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.price-confine p{
    width: 100%;
    height: auto;
    float: left;
    margin: 0;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.price-confine input{
    width: 55%;
    float: left;
    text-align: center;
    background-color: #f3f3f3;
    border-radius: 5px;
    margin: 0;
    margin-right: 5%;
    padding: 0.5em 0;
}
.price-rang{
    width: 100%;
    height: 40px;
    float: left;
    position: relative;
    display: block;
    margin-top: 0.5em;
}
.price-range-new{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.price-row{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-row-label{
    color: #6b7280;
    font-size: 14px;
    min-width: 24px;
}
.price-row-unit{
    color: #6b7280;
    font-size: 14px;
}
.price-input-wrap{
    flex: 1;
    border-bottom: 2px solid #e5e7eb;
}
.price-input-wrap input{
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 6px 4px !important;
    font-size: 26px !important;
    font-weight: 700;
    color: #3d3b5f;
    text-align: center;
    margin: 0 !important;
    float: none !important;
    height: auto !important;
    border-radius: 0 !important;
}
.price-input-wrap input:focus{
    outline: none;
}
.price-rang::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 6px;
    transform: translateY(-50%);
    background: #d7d9dd;
    border-radius: 999px;
}
.price-rang input[type="range"]{
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 25px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.price-rang input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #1aa8bf;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    pointer-events: auto;
    cursor: pointer;
}
.price-rang input[type="range"]::-moz-range-thumb{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #1aa8bf;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    pointer-events: auto;
    cursor: pointer;
}
.price-rang input[type="range"]::-webkit-slider-runnable-track{
    height: 6px;
    background: transparent;
}
.price-rang input[type="range"]::-moz-range-track{
    height: 6px;
    background: transparent;
}
#left-range{
    z-index: 3;
}
#right-range{
    z-index: 4;
}
.price-scale{
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8b8b8b;
    margin-top: -8px;
    pointer-events: none;
}
.price-rang{
    background-image: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent 12%,
        #cfd3d8 12%,
        #cfd3d8 13%
    );
    background-size: 20% 6px;
    background-repeat: repeat-x;
    background-position: 0 50%;
}
  .filter-container input[type="range"]{
    background-color: transparent;
    margin: 0;
    padding: 0;
  }
.filter-container :where(input,select){
    width: 100%;
    height: auto;
    float: left;
    border: none;
    padding: 1em 2.5%;
    background-color: #f3f3f3;
    font-size: 14px;
    outline: none;
    margin-bottom: 2em;
    /* border: 1.5px solid rgba(80, 106, 173, 0.375); */
    box-sizing: border-box;
    border-radius: 5px;
}
.filter-container select{
    /* width: 100%; */
    padding-right: 0;
}
.filter-btn{
   
    width: fit-content;
    padding: 1em 4em;
    color: rgb(255, 255, 255);
    border-radius: 10px;
    margin-top: 1em;
    box-sizing: border-box;
    transition: 0.4s;
    /* background: linear-gradient(-90deg, rgb(62 61 147) 0%, rgb(150 141 243) 70%); */
    background: #208b54;
    box-shadow: 1px 1px 9px gray;
    border:none !important;
}
.filter-btn:hover {
    /* color: var(--primary); */
    background-color: #208b6ec4;
    /* transition: 0.4s; */
} 
.filter-container .m-filter-ele{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    border:1.5px solid rgba(80, 106, 173, 0.09);
    padding: 1em;
    box-sizing: border-box;
    background-color: white;
    border-radius: 5px;
    margin-top: 1em !important;
}
.m-filter-ele h3{
    width: 100%;
    height: auto;
    float: left;
    margin: 0;
    margin-bottom: 1em;
    border-bottom: 1.5px solid rgba(80, 106, 173, 0.375);
    padding-bottom: 0.5em;
}
.m-filter-ele select{
    margin: 0 !important;
}
.m-select-discount{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    color: rgb(78, 78, 78);
    margin-bottom: 2em;
}
.m-select-discount:last-child{
    margin: 0;
}
.m-select-discount input{
    width: 1em !important;
    float: left;
    margin: 0;
    margin-left: 0.5em;
}
@media only screen and (max-width:900px){
    .filter-container {
        width: 100%;
        margin-right: 0;
        margin: 1em 0;
    }
    .filter-container form {
        width: 100%;
        height: 0em;
        overflow: hidden;
    }
    .products-sec{
        width: 100%;
    }
    .filter-header i{
        display: inline-block;
    }
}
